| Total Complexity | 37 |
| Dependencies | 4 |
| Dependents | 1 |
| Total lines | 198 |
| Lines of code | 107 |
| Logical lines of code | 59 |
| Comment lines | 55 |
| Methods | 14 |
| Properties | 3 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| add_notice_if_should() | 54 | 8 | 21 | |
| should_add_notice_on_current_page() | 60 | 8 | 13 | |
| add_checkout_notice_to_fragments() | 56 | 5 | 19 | |
| get_free_shipping_notice_data() | 64 | 3 | 10 | |
| print_notice() | 68 | 2 | 7 | |
| get_notice_message() | 69 | 2 | 7 | |
| prepare_notice_text() | 71 | 2 | 5 | |
| __construct() | 74 | 1 | 5 | |
| hooks() | 75 | 1 | 4 | |
| add_notice_if_should_via_wp_head() | 75 | 1 | 4 | |
| add_checkout_notice_container() | 80 | 1 | 3 | |
| get_left_free_shipping_notice_container() | 79 | 1 | 3 | |
| get_container_class() | 79 | 1 | 3 | |
| get_fragments_id() | 78 | 1 | 3 |